﻿using System.Collections.Generic;
using System.Text;

namespace SimpleOrmCFPC.Core.Query.Where
{
    public class VariableAccessWhereElement : IWhereElement
    {
        public IWhereElement Element { get; set; }

        public VariableAccessWhereElement(IWhereElement whereElement)
        {
            Element = whereElement;
        }

        public void Visit(WhereToSqlBuilder visitor, StringBuilder builder, List<object> parameters)
        {
            visitor.Visit(this, builder, parameters);
        }
    }
}